package com.topc.problem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.topc.base.model.PageParams;
import com.topc.base.model.PageResult;
import com.topc.base.model.UserAuthDto;
import com.topc.problem.model.dto.SaveProblemComposeDto;
import com.topc.problem.model.dto.QueryComposeInfoDto;
import com.topc.problem.model.po.ProblemComposeInfo;
import com.topc.problem.model.po.ProblemInfo;
import com.topc.problem.model.vo.ComposeShowVo;
import com.topc.problem.model.vo.ProblemPageShowVo;

import java.util.List;

public interface IProblemComposeInfoService extends IService<ProblemComposeInfo> {
    PageResult<ProblemComposeInfo> searchByPage(PageParams pageParams,QueryComposeInfoDto queryProblemComposeDto,int role);

    Long saveProblemCompose(SaveProblemComposeDto composeDto);

    ComposeShowVo getComposeDetail(Long id, String number,int roleType);

    Long deleteInfoById(Long id);

    Long addProblemCompose(SaveProblemComposeDto composeDto);
}
